// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

Vue.config.productionTip = false

// 引入 Vant 全部 CSS 文件
import Vant from "vant";
import  'vant/lib/index.css';
Vue.use(Vant)

import Swiper, { Navigation, Pagination, Autoplay } from "swiper"
Swiper.use([Autoplay, Navigation, Pagination])

import VueAwesomeSwiper from 'vue-awesome-swiper'
// import style (>= Swiper 6.x)
import 'swiper/swiper-bundle.css'
Vue.use(VueAwesomeSwiper, /* { default options with global component } */)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
